<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
 
    <ul>
        {% for person in persons %}
            <li>name:{{ person.name }}&nbsp;&nbsp;id:{{ person.id }}</li>
        {% endfor %}
 
    </ul>

    
 
</body>
</html>